package com.gisocn.onemap.net;

import com.gisocn.onemap.model.AppVersion;
import com.gisocn.onemap.model.ChangeUserPassword;
import com.gisocn.onemap.model.CheckDeviceModel;
import com.gisocn.onemap.model.GetDirectoryData;
import com.gisocn.onemap.model.GetDirectoryVersion;
import com.gisocn.onemap.model.GetPostRequest;
import com.gisocn.onemap.model.GetUserConfig;
import com.gisocn.onemap.model.LoginModel;
import com.gisocn.onemap.model.RegisterModel;
import io.reactivex.Observable;
import java.util.Map;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

/* loaded from: classes2.dex */
public interface ApiService {
    public static final String BASE_URL = "http://172.16.0.21:8080/SFS.Mobile/WCF/MobileService.svc/";

    @GET("ChangePassword")
    Observable<ChangeUserPassword> chanagePassWord(@QueryMap Map<String, String> map);

    @GET("CheckDevice")
    Observable<CheckDeviceModel> checkDevice(@QueryMap Map<String, String> map);

    @GET("UserLogin")
    Observable<LoginModel> doUserLogin(@QueryMap Map<String, String> map);

    @GET
    Observable<AppVersion> getAppVersion(@Url String str, @QueryMap Map<String, String> map);

    @GET("GetDirectoryData")
    Observable<GetDirectoryData> getDirectoryData(@QueryMap Map<String, String> map);

    @GET("GetDirectoryVersion")
    Observable<GetDirectoryVersion> getDirectoryVersion(@QueryMap Map<String, String> map);

    @GET("GetUserConfig")
    Observable<GetUserConfig> getUserConfig(@Query("DeviceKey") String str, @Query("UserId") String str2);

    @Headers({"Content-Type: application/json"})
    @POST("RegisterDevice")
    Observable<RegisterModel> registerDevice(@Body GetPostRequest getPostRequest);
}
